]> dgit.raspbian.org Git - php8.2.git/commitdiff
Override result of AC_PROG_LN_S to fix FTBFS on ppc64el
authorOndřej Surý <ondrej@sury.org>
Mon, 3 Jan 2022 14:32:12 +0000 (15:32 +0100)
committerGuilhem Moulin <guilhem@debian.org>
Wed, 21 Oct 2026 06:29:51 +0000 (08:29 +0200)
Gbp-Pq: Name 0043-Override-result-of-AC_PROG_LN_S-to-fix-FTBFS-on-ppc6.patch

configure.ac

index f7be6c4a1fa8a83fd2921a2df5989dd8c32d2c98..8be8b340b55055f80e6e5cf8ec37c6841b2668d0 100644 (file)
@@ -135,6 +135,11 @@ AC_PROG_CPP
 AC_USE_SYSTEM_EXTENSIONS
 AC_PROG_LN_S
 
+if test "$LN_S" != "ln -s"; then
+  AC_MSG_WARN([Overriding result of AC_PROG_LN_S, ln -s always works here])
+  LN_S='ln -s'
+fi
+
 if test "$cross_compiling" = yes ; then
   AC_MSG_CHECKING(for native build C compiler)
   AC_CHECK_PROGS(BUILD_CC, [gcc clang c99 c89 cc cl],none)